home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 1 / PC Actual CD 01.iso / share / dos / graficos / plydat14.arj / SWEEP1.PI < prev    next >
Encoding:
Text File  |  1992-04-01  |  694 b   |  35 lines

  1. // Generic Polyray input File
  2. // Polyray input file: Alexander Enzmann
  3.  
  4. // Set up the camera
  5. viewpoint {
  6.    from <0,7,-10>
  7.    at <0,0,0>
  8.    up <0,1,0>
  9.    angle 45
  10.    hither 1
  11.    resolution 80, 80
  12.    }
  13. include "colors.inc"
  14. background midnight_blue
  15. light <5, 20, -10>
  16.  
  17. define sweep_object
  18. object {
  19.    sweep 1, <0, 1, 0>, 12,
  20.       <2, -1>, <3, -1>, <3.4, -2>, <4, -1.1>, <3.6, -0.9>,
  21.       <2.6, 0>,
  22.       <3.6, 0.9>, <4, 1.1>, <3.4, 2>, <3, 1>, <2, 1>,
  23.       <2, -1>
  24.    u_steps 16
  25.    shiny_red
  26.    }
  27.  
  28. object {
  29.      sweep_object
  30.    * object { box <-5, 0, -5>, <5, 1, 5> shiny_green }
  31.    translate <-3, -0.7, 0>
  32.    scale <1.2, 10, 1.2>
  33.    rotate <-90, 25, 0>
  34.    }
  35.